home *** CD-ROM | disk | FTP | other *** search
/ Technotools / Technotools (Chestnut CD-ROM)(1993).ISO / lang_c / mscfunct / crt_wher.c < prev    next >
C/C++ Source or Header  |  1987-05-06  |  254b  |  15 lines

  1. #include <dos.h>
  2.  
  3. void crt_where( row, column, page ) int *row, *column, page;
  4. {
  5.     union REGS regs;
  6.     
  7.     regs.h.ah = 3;
  8.     regs.h.bh = page;
  9.     
  10.     int86( 0x10, ®s, ®s );
  11.     
  12.     *row = regs.h.dh;
  13.     *column = regs.h.dl;
  14. }
  15.